<script>
$(document).ready(function(){
	$("#DD").load("/chuanmeiDD/res/广西.html");
	setTimeout(function () { test(); }, 500);
        function test(){
          $("table").addClass("table-bordered table-hover table-striped");
      }	
  	$(".CMDDIP").click(function(){
	$("#selBT").val("failed");
	$("#selBT").text("显示failed");
});
$(".CMDDDomain").click(function(){
	$("#selBT").val("出网");
	$("#selBT").text("显示出网的域名");
});
$(".CMDDnew").click(function(){
	$("#selBT").val("不存在");
	$("#selBT").text("显示新增调度IP");
});
});

</script>

  <script type="text/javascript">
    function key1(obj) {
        $('tr').hide().filter(":contains('" +($(obj).val()) + "')").show();
}
  </script>

<script type="text/javascript">
    function search(obj) {
        $('tr').hide().filter(":contains('" +($(obj).val()) + "')").show().filter(":contains('successful')").hide().filter(":contains('网内')").hide().filter(":contains('已存在')").hide();
}
</script>


<style>
h3 {
	text-align:center;
}
table {
	width: 90%
}

th {  
    border-width: 1px;  
    padding: 8px;  
    border-style: solid;  
    border-color: #666666;  
    background-color: #dedede;  
}  
</style>

<div class="row">
	<div class="col-md-2"> 
		<br>
		<div class="btn-group-vertical hidden-xs" style="width: 200px;position:fixed;">
			<?php include 'CMDDlist.php';?>
			<button type="button" class="btn btn-default"  onclick="method5('mytab')" style="text-align:right">导出Excel</button>   
    		<button type="button" class="btn btn-default"   onclick="$('tr').show()" style="text-align:right">显示全部</button>
    		<button id="selBT" type="button" class="btn btn-default" value="failed"  onclick="key1(this)" style="text-align:right">显示failed</button>
    	</div>		
	</div>
	<div class="col-md-10">  
		<div class="row">
			<div class="btn-group  visible-xs">
			<?php include 'CMDDlist.php';?>			
			</div>
		</div>
		<div class="row">
				<div class="hidden-xs">
					<a href="/chuanmeiDD/download/CDN域名检测工具.exe" download="CDN域名检测工具.exe">CDN域名检测工具下载</a>
					<a href="/chuanmeiDD/download/调度IP路由检测工具.exe" download="调度IP路由检测工具.exe">调度IP路由检测工具</a>
				</div>
		</div>
			<div class="row">
				<div id="DD">点击显示 </div>
		
			</div>
		</div>
	</div>
</div>